import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { STargetCondition } from "./STargetCondition";
import { STimeLimit } from "./STimeLimit";
type int = number;
//class SDescription
    
    export  class SDescription
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.targetCondition.__write(arg1);
            arg1.writeInt(this.openTime);
            this.timeLimit.__write(arg1);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.targetCondition = new STargetCondition();
            this.targetCondition.__read(arg1);
            this.openTime = arg1.readInt();
            this.timeLimit = new STimeLimit();
            this.timeLimit.__read(arg1);
            return;
        }

        public /* var */targetCondition: STargetCondition;

        public /* var */openTime: int;

        public /* var */timeLimit: STimeLimit;
    }
